﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RockCompany.Common.Constant
{
    public class CommonConstantIF
    {
        //Language
        public enum Language { VN = 848, CH = 886 };

        #region Message Constants
        public const string BLANK = "";
        public const string OpenConnectionError = "OPEN_CONNECTION_ERROR";
        public const string CloseConnectionError = "CLOSE_CONNECTION_ERROR";

        public const string SelectError = "SELECT_ERROR";
        public const string EmptySelect = "SELECT_EMPTY";

        public const string ModifyError = "MODIFY_ERROR";

        public const string InputMissing = "INPUT_MISSED_ERROR";

        public const string LoginError = "LOGIN_ERROR";
        public const string NewInforInvalid = "NEW_INFOR_ERROR";
        public const string InsertNewError = "INSERT_ERROR";
        public const string InsertNewComplete = "INSERT_COMPLETE";
        public const string EmptyRemoveList = "EMPTY_REMOVE_LIST";
        public const string RemoveError = "REMOVE_ERROR";
        public const string RemoveComplete = "REMOVE_COMPLETE";
        public const string UpdateError = "UPDATE_ERROR";
        public const string UpdateComplete = "UPDATE_COMPLETE";
        public const string SaveComplete = "SAVE_COMPLETE";
        public const string SaveError = "SAVE_ERROR";

        public const string MainInforConfilct = "MAIN_INFO_CONFLICT";
        public const string NumberFormateError = "NUMBER_FORMAT_ERROR";
        public const string NumberValueError = "NUMBER_VALUE_ERROR";

        public const string CONFIRM_CAPTION = "CONFIRM_CAPTION";
        public const string CONFIRM_DELETE = "CONFIRM_DELETE";
        public const string CONFIRM_MODIFY = "CONFIRM_MODIFY";
        public const string CONFIRM_ADD = "CONFIRM_ADD";
        public const string CONFIRM_PRINT = "CONFIRM_PRINT";
        public const string OPERATION_SUCCESS = "OPERATION_SUCCESS";
        public const string OPERATION_FAILURE = "OPERATION_FAILURE";
        public const string REQUIRED_FIELD = "REQUIRED_FIELD";
        public const string REQUIRED_MAT = "REQUIRED_MAT";
        public const string MODIFY_CONFIRM = "MODIFY_CONFIRM";
        public const string DATE_FORMAT = "dd/MM/yyyy";

        public const string CAL_WAREHOUSE = "CAL_WAREHOUSE";
        public const string NULL_PREV_WAREHOUSE = "NULL_PREV_WAREHOUSE";

        public const string TRIAL_EXPIRED = "TRIAL_EXPIRED";
        #endregion

        #region Form, Dialog Caption Constants
        public const string InforBoxCap = "INFO_BOX_CAPTION";
        public const string ErrorBoxCap = "ERR_BOX_CAPTION";
        public const string WarningBoxCap = "WAR_BOX_CAPTION";
        public const string MenuFormCap = "SC01_FORM_CAPTION";
        public const string ProMenuFormCap = "SC04_FORM_CAPTION";
        public const string MatFormCap = "SI01_FORM_CAPTION";
        public const string WorkOrderFormCap = "SI02B_FORM_CAPTION";
        public const string MatFormID = "SI01";
        #endregion

        #region SC03
        public const int NO_ROW_EFFECT = 0;
        public const string SC03_USERNAME_INVALID = "SC03_USERNAME_INVALID";
        public const string SC03_REQUIRED_FIELD = "SC03_REQUIRED_FIELD";
        public const string SC03_USERNAME_EXISTS = "SC03_USERNAME_EXISTS";
        public const string SELECTED_ROW = "SELECTED_ROW";
        #endregion

        #region Common Constant
        public const string COL_LIST_NAMES = "COL_NAMES";
        public const string CHON = "CHON";
        public const string COL_ORDER = "ORDER";
        #endregion

        #region SW01, SW02
        public const string SW01A_ADD_CONFIRM = "SW01A_ADD_CONFIRM";
        public const string SW01A_SO_LO_EXISTS = "SW01A_SO_LO_EXISTS";
        #endregion

        #region SI06
        public const string SI06_ADD_CONFIRM = "SI06_ADD_CONFIRM";
        #endregion

        public const string sTrialTimePath = "..\\Common\\system.trial";
    }
}
